package com.linkhub.oms.admin.modules.wms.domain.param;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ProcessOrderNoticeParam", description = "Process Order Notice Param")
public class ProcessOrderNoticeParam implements Serializable {

    private Request request;

    @Data
    public static class Request {
        private String ownerCode;
        private String warehouseCode;
        private String processOrderCode;
        private String processOrderId;
        private String orderType;
        private String outBizCode;
        private String orderCompleteTime;
        private int serviceType;
        private MaterialItems materialitems;
        private ProductItems productitems;
    }

    @Data
    public static class MaterialItems {
        private List<Item> item;
    }

    @Data
    public static class ProductItems {
        private List<Item> item;
    }

    @Data
    public static class Item {
        private String itemCode;
        private String inventoryType;
        private int quantity;
        private String userDefined1;
    }
}
